<template>
    <div>{{ sharedData }}</div>
</template>
  
<script setup>
import { inject } from 'vue';

const sharedData = inject('sharedData');
</script>